/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.crawler.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.crawler.dao.CrawlerThemeDao;
import com.thinkgem.jeesite.modules.crawler.entity.CrawlerTheme;

/**
 * 开放数据集归类模块Service
 * @author clz
 * @version 2017-05-02
 */
@Service
@Transactional(readOnly = true)
public class CrawlerThemeService extends CrudService<CrawlerThemeDao, CrawlerTheme> {

	public CrawlerTheme get(String id) {
		return super.get(id);
	}
	
	public List<CrawlerTheme> findList(CrawlerTheme datasetClassify) {
		return super.findList(datasetClassify);
	}
	
	public Page<CrawlerTheme> findPage(Page<CrawlerTheme> page, CrawlerTheme datasetClassify) {
		return super.findPage(page, datasetClassify);
	}
	
	@Transactional(readOnly = false)
	public void save(CrawlerTheme datasetClassify) {
		super.save(datasetClassify);
	}
	
	@Transactional(readOnly = false)
	public void delete(CrawlerTheme datasetClassify) {
		super.delete(datasetClassify);
	}
	
}